package com.example.security.exception;


public class MyException extends RuntimeException {

    private int code;

    public int getCode() {
        return code;
    }

    public MyException(Integer code,String msg) {
        super(msg);
        this.code = code;
    }
}
